#ifndef GRAPHICS_H
#define GRAPHICS_H

#include "droplet.h"

#include <GL/glew.h>
#include <SDL2/SDL.h>
#include <SDL2/SDL_opengl.h>
#include <stdbool.h>


extern unsigned int const VERTEXES_PER_CIRCLE;


void sdl_setup(int width, int height, SDL_Window ** window,
		SDL_Renderer ** renderer);
void gl_setup(SDL_GLContext * gl_context, SDL_Window * window);
void graphics_finish(SDL_Window * window, SDL_Renderer * renderer,
		SDL_GLContext * context);
bool sdl_quit();
void create_circles(GLfloat * vertexes, Droplet * circles, size_t circles_count,
		float screen_width, float screen_height);

#endif
